#pragma once

#include "NirSet.h"
//#include <iostream>
//#include <string>

#include "Edge.h"


class Vertex
{
public:
	Vertex(int id);
	~Vertex();
	virtual void AddEdge(Vertex *v);
	void PrintEdges();
	int GetName() { return _name; }
	Set<Edge*> GetEdges() { return _edges; }
	
	void GetNeighbors(Set<Vertex*>* result);

	int _name;
	Set<Edge*> _edges;
};


